package com.nxmu.action;

import com.opensymphony.xwork2.ActionSupport;
import org.apache.struts2.interceptor.ApplicationAware;
import org.apache.struts2.interceptor.RequestAware;
import org.apache.struts2.interceptor.SessionAware;

import java.util.Map;

public class BaseAction extends ActionSupport implements RequestAware, SessionAware, ApplicationAware {

    Map<String, Object> request;
    Map<String, Object> session;
    Map<String, Object> application;

    @Override
    public void setApplication(Map<String, Object> map) {
        application = map;
    }

    @Override
    public void setRequest(Map<String, Object> map) {
        request = map;
    }

    @Override
    public void setSession(Map<String, Object> map) {
        session = map;
    }
}
